package com.yh.rbac.service;

import java.util.List;

import com.yh.rbac.entity.UserRole;

public interface UserRoleService {
	int insert(UserRole record);

    List<UserRole> selectAll();
    
    UserRole selectByRidAndUid(Long rid , Long uid) ;
    List<UserRole> selectByUid(Long uid) ;
    int deleteByUidOrRid(Long uid, Long rid) ;
}
